import { Global, Module } from '@nestjs/common';
import { VcodeV1Controller } from './vcode.v1-controller';
import { VcodeService } from './vcode.service';
import { TypeOrmModule } from "@nestjs/typeorm";
import { UserModel } from "@/module/user/user.model";

@Global()
@Module({
  imports: [TypeOrmModule.forFeature([UserModel])],
  controllers: [VcodeV1Controller],
  providers: [VcodeService],
  exports: [VcodeService],
})
export class VcodeModule {}
